::echo off ::

@echo off
echo start...
for %%i in (scripts\*.sql) do (
	echo running %%i please wait...
	echo set names utf8;>all.sql
	echo source %%i>>all.sql
	mysql -u root -pTelephone1. --max_allowed_packet=1048576 --net_buffer_length=16384 < all.sql
	echo %%i done.
)
del all.sql
echo all sql run done.
pause